package com.steven.design.XingWei_Pattern.ZhuangTai;

public class User implements ISwitchState,IUser{
    IUser state =new Common();
    @Override
    public void chargeVIP() {
        state=new Vip();
    }

    @Override
    public void expire() {
        state=new Common();
    }

    @Override
    public void mock() {
        state.mock();
    }
}
